package cn.gok.service;

import cn.gok.entity.Course;
import cn.gok.entity.Student;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: LKSV
 * @Description:
 * @Date:Created in  2021/7/27
 */
public interface StudentService {
    int deleteByPrimaryKey(Integer id);

    int insert(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);

    Student selectByName(String studentName,String password);

    List<Course> selectByClass(Integer id);

    List<Course> selectStudentClass();
}
